﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Data_Transfer_Layer
{
    class dichvuDTO
    {
        #region Variables
        private int dv_id, ldv_id, dv_soluong, dv_gia;
        private string dv_tendv, dv_donvi;
        #endregion

        #region Properties
        public string Dv_donvi
        {
            get { return dv_donvi; }
            set { dv_donvi = value; }
        }

        public string Dv_tendv
        {
            get { return dv_tendv; }
            set { dv_tendv = value; }
        }
        public int Dv_gia
        {
            get { return dv_gia; }
            set { dv_gia = value; }
        }

        public int Dv_soluong
        {
            get { return dv_soluong; }
            set { dv_soluong = value; }
        }

        public int Ldv_id
        {
            get { return ldv_id; }
            set { ldv_id = value; }
        }

        public int Dv_id
        {
            get { return dv_id; }
            set { dv_id = value; }
        }
        #endregion

        public dichvuDTO()
        {
            dv_id = -1;
            ldv_id = -1;
            dv_soluong = -1;
            dv_gia = -1;
            dv_tendv = "";
            dv_donvi = "";
        }
        public dichvuDTO(int dv_id, int ldv_id, int dv_gia, int dv_soluong, string dv_tendv, string dv_donvi)
        {
            this.dv_id = dv_id;
            this.ldv_id = ldv_id;
            this.dv_soluong = dv_soluong;
            this.dv_gia = dv_gia;
            this.dv_tendv = dv_tendv;
            this.dv_donvi = dv_donvi;
        }
    }
}

